<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Navigation Bar</title>
    <style>
        body {
            font-family: Arial, sans-serif;
        }

        .navigation-bar {
            display: flex;
            justify-content: space-around;
            align-items: center;
            background-color: #f5f5f5;
            border-radius: 20px;
            padding: 10px;
            margin: 20px;
        }

        .navigation-bar li {
            list-style: none;
            display: flex;
            align-items: center;
            padding: 10px 20px;
            border-radius: 20px;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }

        .navigation-bar li img {
            width: 24px;
            height: 24px;
            margin-right: 8px;
        }

        .navigation-bar li.active {
            background-color: #ff69b4;
            color: white;
        }

        .navigation-bar li:not(.active) {
            color: #333;
        }
    </style>
</head>
<body>
    <ul class="navigation-bar">
        <li class="">
            <img src="/src/img/tab-1.png" alt="备孕期间">
            备孕期间
        </li>
        <li class="active">
            <img src="/src/img/tab-2.png" alt="怀孕">
            怀孕
        </li>
        <li class="">
            <img src="/src/img/tab-3.png" alt="0-1岁">
            0-1岁
        </li>
        <li class="">
            <img src="/src/img/tab-4.png" alt="1-2岁">
            1-2岁
        </li>
        <li class="">
            <img src="/src/img/tab-5.png" alt="2-3岁">
            2-3岁
        </li>
    </ul>
</body>
</html>